<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <h1>我是前端H1标签</h1>
  <h2>我是前端H2标签</h2>
  <button>我是前端按钮</button>
  <script>
    document.querySelector('button').addEventListener('click', () => {
      // document.querySelector('h2').innerHTML = '修改之后的值'
      // document.querySelector('h2').innerHTML = mk.sayHi
      // mk.sayHi({ name: '王硕杰', age: 18 })
      console.log(mk)
      console.log(mk.queryUser())
    })
  </script>
  <!-- 引入调试控制台 -->
  <script src="https://cdn.jsdelivr.net/npm/eruda"></script>
  <!-- 初始化 -->
  <script>eruda.init();</script>

</body>

</html>